/* HomePage 组件样式 - BEM 命名规范 */
.home-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 60px; /* 为底部导航留出空间 */
}

.home-page__search {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.home-page__banner {
  margin-bottom: 12px;
}

.home-page__categories {
  background: #fff;
  margin-bottom: 12px;
}

.home-page__brands {
  background: #fff;
  margin-bottom: 12px;
  padding: 16px;
}

.home-page__section-title {
  margin-bottom: 16px;
}

.home-page__title-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.home-page__title-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.home-page__title-subtitle {
  font-size: 12px;
  color: #999;
}

.home-page__brand-list {
  display: flex;
  gap: 16px;
}

.home-page__brand-item {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 12px;
  background: #f8f8f8;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.home-page__brand-item:hover {
  background: #f0f0f0;
}

.home-page__brand-item img {
  width: 60px;
  height: 30px;
  object-fit: contain;
  margin-right: 12px;
  border-radius: 4px;
}

.home-page__brand-info {
  flex: 1;
}

.home-page__brand-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
}

.home-page__brand-count {
  font-size: 12px;
  color: #666;
}

.home-page__hot-products {
  background: #fff;
  padding: 16px;
}

.home-page__product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
} 